package com.github.mikephil.charting.formatter;

import java.util.TreeMap;

import com.github.mikephil.charting.components.AxisBase;

/**
 * Created by Steven Hua on 22/02/17.
 * Custom formatter interface that allows formatting of
 * axis lines before they are being drawn.
 */
public interface IAxisColorFormatter
{
    public boolean getDependYAxis();
    /**
     *
     * @param axis
     * @return The  reference between YAxis value and color. Like {50:"#183381",60:"#54A9DA",...,Integer.MAX_VALUE:"#D4081E"}. Base orders.
     */
    public TreeMap<Integer,Integer> getColors(AxisBase axis);
    public TreeMap<Integer,Integer> getRectColors();
    public int getMarkColor(AxisBase axis);
}
